interface RoutesProps {
  path: string;
  name: string;
  component: string;
  [key: string]: any;
}

const teachersRoutes: Array<RoutesProps> = [
  {
    path: "/home",
    name: "teachershome",
    component: "teachers/TeachersHome/TeachersHome",
    meta: {
      title: "工作台",
      icon: "",
      alwaysShow: 0,
    },
  },
  {
    path: "/classmanage",
    name: "classmanage",
    component: "teachers/ClassManage/ClassManage",
    meta: {
      title: "班级管理",
      icon: "",
      alwaysShow: 1,
    },
  },
  {
    path: "/studentsmanage",
    name: "studentsmanage",
    component: "teachers/StudentsManage/StudentsManage",
    meta: {
      title: "学生管理",
      icon: "",
      alwaysShow: 1,
    },
  },
  {
    path: "/classroommanage",
    name: "classroommanage",
    component: "teachers/ClassroomManage/ClassroomManage",
    meta: {
      title: "教室管理",
      icon: "",
      alwaysShow: 1,
    },
  },
  // {
  //   path: "/studentsmanage/edit",
  //   name: "studentedit",
  //   component: "teachers/StudentsEdit/StudentsEdit",
  //   meta: {
  //     title: "新增学生",
  //     icon: "",
  //     alwaysShow: 0,
  //   },
  // },
  {
    path: "/departmentmanage",
    name: "departmentmanage",
    component: "teachers/DepartmentManage/DepartmentManage",
    meta: {
      title: "方向管理",
      icon: "",
      alwaysShow: 1,
    },
  },
  {
    path: "/employeemanage",
    name: "employeemanage",
    component: "teachers/EmployeeManage/EmployeeManage",
    meta: {
      title: "员工管理",
      icon: "",
      alwaysShow: 1,
    },
  },
  {
    path: "/pmmanage",
    name: "pmmanage",
    component: "teachers/PMManage/PMManage",
    meta: {
      title: "项目经理管理",
      icon: "",
      alwaysShow: 0,
    },
  },
  {
    path: "/examinationmanage",
    name: "examinationmanage",
    component: "teachers/ExaminationManage/ExaminationManage",
    meta: {
      title: "考题管理",
      icon: "",
      alwaysShow: 1,
    },
  },
  {
    path: "/dataanalysis",
    name: "dataanalysis",
    component: "teachers/DataAnalysis/DataAnalysis",
    meta: {
      title: "数据分析",
      icon: "",
      alwaysShow: 0,
    },
  },
  {
    path: "/personalcenter",
    name: "personalcenter",
    component: "teachers/PersonalCenter/PersonalCenter",
    meta: {
      title: "个人中心",
      icon: "",
      alwaysShow: 0,
    },
  },
  {
    path: "/:pathMatch(.*)",
    name: "",
    redirect: "/notfound",
    component: "",
    meta: {
      title: "",
      icon: "",
      alwaysShow: 0,
    },
  },
];

export default teachersRoutes;
